package cn.bone.ou.data.service;

import cn.bone.base.bean.CommonResult;
import cn.bone.ou.data.param.ArticleParam;

public interface IArticleService {

    /**分页获取列表*/
    CommonResult list(ArticleParam.ListParam param);

    /**新增文章*/
    CommonResult add(ArticleParam.AddParam param);

    /**修改文章*/
    CommonResult modify(ArticleParam.ModifyParam param);

    /**文章详情*/
    CommonResult detail(ArticleParam.DeleteParam param);

    /**删除文章*/
    CommonResult delete(ArticleParam.DeleteParam param);
}
